package com.ict.ms.port.service.api.impl;


import org.springframework.stereotype.Service;

import com.ict.ms.port.facade.api.IPortInfoSearchService;
import com.ict.ms.port.facade.model.PortinfoSearch;
import com.ict.ms.port.service.dao.IPortInfoSearchDao;

import javax.annotation.Resource;

/**
 * Created by FCC on 2017/2/21.
 */
@Service("portInfoSearchService")
public class PortInfoSearchService implements IPortInfoSearchService {
    @Resource
    IPortInfoSearchDao portInfoSearchDao;

    public PortinfoSearch getPortInfoById(int id) {
        PortinfoSearch portinfoSearch;
        portinfoSearch = portInfoSearchDao.getPortInfoById(id);
        if (portinfoSearch != null)
            return portinfoSearch;
        return null;
    }
}
